package com.ict.service;

import com.ict.api.dto.IctUserDTO;
import com.ict.api.entity.IctUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ict.api.vo.IctUserVO;
import com.ict.api.vo.PageResult;

import java.util.Map;

/**
 * <p>
 * 用户基本信息表 服务类
 * </p>
 *
 * @author wjp
 * @since 2025-03-23
 */
public interface IctUserService extends IService<IctUser> {

    void sendCode(String phone);

    void register(IctUser user);

    Map<String, Object> loginVerification(IctUserDTO user);

    PageResult<IctUserVO> getUserInfoList(IctUserDTO user);

    IctUserVO getUserInfo(Long id);

    void deleteUser(Long id);

    void addOrUpdateUser(IctUserDTO user);

    void updateUserStatus(Long id, Integer status);
}
